﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2020
// 文件： LiveCommentEntity.cs
// 项目名称：斑马车务
// 创建时间：2020/2/24
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
	/// <summary>
	///数据实体  
	/// </summary>
    [PrimaryKey("CommentID")]
	public class LiveComment
	{
		///<summary>
		///
		///</summary>
		public LiveComment()
		{
		}	
    
		
		///<summary>
		///主键
		///</summary>
        [Column("CommentID","主键")]
        public int CommentID { get; set; }

		///<summary>
		///直播室ID
		///</summary>
        [Column("RoomID","直播室ID")]
        public int RoomID { get; set; }

		///<summary>
		///评论类型(1:文字评论，2:点赞)
		///</summary>
        [Column("CommentType","评论类型(1:文字评论，2:点赞)")]
        public int CommentType { get; set; }

		///<summary>
		///评论人
		///</summary>
        [Column("UserID","评论人")]
        public int UserID { get; set; }

		///<summary>
		///评论内容
		///</summary>
        [Column("CommentContent","评论内容")]
        public string CommentContent { get; set; }

		///<summary>
		///评价时间
		///</summary>
        [Column("CreatedTime","评价时间")]
        public DateTime CreatedTime { get; set; }

		///<summary>
		///逻辑删除
		///</summary>
        [Column("IsActive","逻辑删除")]
        public int IsActive { get; set; }

	}
}